package com.hibase.core.excel.vo.dynamic;

import com.hibase.core.excel.entity.MdsExcelImportConfig;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.BindingResult;

import java.io.Serializable;
import java.util.List;

/**
 * Excel动态解析结果集
 *
 * @author <a href="mailto:xiongliyi@hichain.com">Ian Xiong</a>
 * @since 1.4.35-V2
 */
@Data
@ApiModel(value = "DynamicExcelResult", description = "Excel动态解析结果集")
public class DynamicExcelResult implements Serializable {
    private static final long serialVersionUID = 2447537837011683357L;

    @ApiModelProperty("Excel配置模板信息")
    private MdsExcelImportConfig configInfo;
    @ApiModelProperty(value = "行记录详细信息", hidden = true)
    private List<DynamicExcelRowResult> rows;
    @ApiModelProperty(value = "校验信息", hidden = true)
    private BindingResult bindingResult;
    @ApiModelProperty(value = "结果集", hidden = true)
    private List<Object> data;
}
